// Registry.h: interface for the CRegistry class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_REGISTRY_H__8D077CBA_1131_4DB0_96CF_336BF70B8419__INCLUDED_)
#define AFX_REGISTRY_H__8D077CBA_1131_4DB0_96CF_336BF70B8419__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CRegistry  
{
public:
	static BOOL QueryValue(HKEY hKey, LPCTSTR szSubKey, LPCTSTR szValueName, BYTE **ppBuf, DWORD *dwSize);
	static BOOL SetValue(HKEY hKey, LPCTSTR szSubKey, LPCTSTR szValueName, DWORD dwType, void *pBuf, DWORD dwSize = -1);
	CRegistry();
	~CRegistry();

};

#endif // !defined(AFX_REGISTRY_H__8D077CBA_1131_4DB0_96CF_336BF70B8419__INCLUDED_)
